package com.wx.tgp.designpattern.decorativePattern.decorative;

/**
 * 装饰对象B
 */
public class ContreteDecorativeB extends Decorative {

    @Override
    public void Operation() {
        super.Operation();
        this.AddBehavior();
        System.out.println("具体装饰对象B的操作");
    }

    private void AddBehavior(){
        System.out.println("这个是装饰B");
    }
}
